package com.eclipse.e0112_java基础.多态;

class Test{
	public static void main(String[] args) {
		
		School s = new School();
		s.goSchool();
		
		s = new Student();
		s.goSchool();
		
		s = new Teacher();
		s.goSchool();
	}
}